/**
 * This is a very simple program designed to demostrate that MTASC is building
 * correctly.
 * http://www.mtasc.org/
 * 
 * MTasc Arguments are:
 * 
 * FLASH7
 *  -swf build/MTASCTest.swf -main -header 800:600:20 
 * or
 * FLASH8
 *  -swf build/MTASCTest.swf -main -header 800:600:20 -version 8
 *  
 * Here's a full blown one for command line.
 *   C:\DATA_SYNC\CodeProjects\mtasc-1.12\mtasc.exe -swf build/MTASCTest.swf -main -header 800:600:20    -cp "C:\DATA_SYNC\CodeProjects\workspace\TroyWorks - dev\src"  -cp "C:\DATA_SYNC\CodeProjects\Actionscript AS 2.0\lib"  -cp "C:\DATA_SYNC\CodeProjects\workspace\TroyWorks - tests\src"  -cp C:\DATA_SYNC\CodeProjects\mtasc-1.12\std  MTascTest
 * 
 * @author Troy Gardner
 */
class MTascTest {

	static var app : MTascTest;

	function MTascTest() {
		// creates a 'tf' TextField size 800x600 at pos 0,0
		_root.createTextField("tf",0,0,0,800,600);
		// write some text into it
		_root.tf.text = "Hello world !";
	}

	// entry point
	static function main(mc:MovieClip):Void {
		app = new MTascTest();
		mc.createTextField("tf2",1,0,0,800,600);
		// write some text into it
		mc.tf2.text = "\r From" + mc._name + " _url:" + mc._url  ;
		
	}
}